package com.example.chapp.control;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import androidx.annotation.Nullable;

import com.example.chapp.MainActivity;
import com.example.chapp.R;

public class wodeactive extends Activity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.wode);
        View but1=findViewById(R.id.sy);
        but1.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent=new Intent(wodeactive.this, shouyeactive.class);
                startActivity(intent);
            }
        });
        View but2=findViewById(R.id.fl);
        but2.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent=new Intent(wodeactive.this, fenleiactive.class);
                startActivity(intent);
            }
        });
        View dl=findViewById(R.id.dl);
        dl.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent=new Intent(wodeactive.this, loginactive.class);
                startActivity(intent);
            }
        });
        View zc=findViewById(R.id.zc);
        zc.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent=new Intent(wodeactive.this, redegitactive.class);
                startActivity(intent);
            }
        });


    }
}
